package com.tanhua.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.tanhua.domain.db.BasePojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Admin extends BasePojo {

    private Long id;
    private String username;
    private String password;
    private String avatar;


    /**
     * token 
     */
    @TableField(exist = false) //不参与和数据库做映射
    private String token;
}